package com.bsj.power.common.def.vo.sys.alert;

import lombok.Data;

/**
 * @author : zhuojie.c
 * @version V1.0
 * @Description: TODO
 * @date Date : 2024年08月22日
 */
@Data
public class Labels {
    private String status;
    private Label labels;
    private Annotation annotations;
    private String startsAt;
    private String endsAt;


    @Data
    public static class Label {
        private String alertname;
        private String instance;
        private String job;
        private String level;
    }

    @Data
    public static class Annotation {
        /**
         * 机器实例
         */
        private String instance;
        /**
         * 当前服务器CPU|内存|硬盘 使用率
         */
        private String value;
        /**
         * 报警概要
         */
        private String summary;
        /**
         * 报警描述
         */
        private String description;
    }
}
